﻿<?php
require "./template/header.php";
?>
	<body>
		<div id="warp">
			<div id="header">
				<div id="logo">
					<a href="./">
						<img border="0" src="./images/logo.png">
					</a>
				</div>
				<div id="menu">
					<ul>
						<li class="menuleft"><a href="/" >网站首页</a></li>
						<li class="menucenter"><a href="./top.php" >挂Q风云榜</a></li>
						<li class="menucenter"><a href="./about.php" >关于我们</a></li>
						<li class="menuright"><a href="http://www.7h88.com" target="_blank" >七盒网络</a></li>
					</ul>
				</div>
			</div>
			<div id="content">
				<div id="content-wall">
					<div id="content-wall-main">
						<div id="content-wall-main-title">
							最新加入的36位小伙伴 - 我们都在这里!你也快来吧!
						</div>
						<div id="content-wall-main-main">
							<ul>
								<?php
								$mysql_walls = mysql_query("SELECT * FROM  `xige_qqlist` ORDER BY  `id` DESC LIMIT 0 , 36");
								while($mysql_wall = mysql_fetch_array($mysql_walls)){
								echo '
								<li>
								<a href="./search.php?qq='.$mysql_wall['qq'].'">
								<img border="0" src="http://q2.qlogo.cn/headimg_dl?bs=qq&dst_uin='.$mysql_wall['qq'].'&spec=100" alt="QQ:'.$mysql_wall['qq'].'" title="我在'.date("Y年m月d日 H时i分s秒",$mysql_wall['adddate']).' 加入了挂Q网">
								</a>
								</li>
								';
								}
								?>
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div id="footer">
				<div id="menu-good">
					<ul>
						<li><a href="./help.php">挂Q帮助</a></li>
						<li><a href="./search.php">挂Q查询</a></li>
						<li><a href="./count.php">网站统计</a></li>
						<li><a href="./wall.php">挂Q头墙</a></li>
					</ul>
				</div>
<?php
require "./template/footer.php";
?>